#pragma once


#include <iostream>
#include <ctime>
#include <random>

namespace Random {

	inline void GetInt(int* nos, int num, int min , int max)
	{
		std::default_random_engine e;
		std::uniform_int_distribution<int> u(min, max);
		e.seed(time(0));

		for (int i = 0; i < num; i++)
		{
			nos[i] = u(e);
		}
	}
	inline void GetFloat(float* fs, float num, float min, float max)
	{
		std::default_random_engine e;
		std::uniform_real_distribution<float> u(min, max);
		e.seed(time(0));

		for (int i = 0; i < num; i++)
		{
			fs[i] = u(e);
		}
	}

}

